Conversation
There was a problem hiding this comment.
Review by Korbit AI
Korbit automatically attempts to detect when you fix issues in new commits.
| Category | Issue | Status |
|---|---|---|
| Reporter registration violates Open-Closed Principle ▹ view |
Files scanned
| File Path | Reviewed |
|---|---|
| dfetch/reporting/init.py | ✅ |
| dfetch/resources/init.py | ✅ |
| dfetch/reporting/reporter.py | ✅ |
| dfetch/reporting/stdout_reporter.py | ✅ |
| dfetch/main.py | ✅ |
| dfetch/commands/common.py | ✅ |
| dfetch/manifest/remote.py | ✅ |
| dfetch/commands/command.py | ✅ |
| dfetch/util/cmdline.py | ✅ |
| dfetch/commands/freeze.py | ✅ |
| dfetch/reporting/check/jenkins_reporter.py | ✅ |
| dfetch/util/purl.py | ✅ |
| dfetch/commands/report.py | ✅ |
| dfetch/util/versions.py | ✅ |
| dfetch/util/util.py | ✅ |
| dfetch/project/git.py | ✅ |
| dfetch/reporting/check/code_climate_reporter.py | ✅ |
| dfetch/project/metadata.py | ✅ |
| dfetch/commands/check.py | ✅ |
| dfetch/commands/diff.py | ✅ |
| dfetch/commands/update.py | ✅ |
| dfetch/reporting/check/sarif_reporter.py | ✅ |
| dfetch/reporting/check/reporter.py | ✅ |
| dfetch/reporting/sbom_reporter.py | ✅ |
| dfetch/commands/import_.py | ✅ |
| dfetch/project/vcs.py | ✅ |
| dfetch/manifest/project.py | ✅ |
| dfetch/project/svn.py | ✅ |
| dfetch/manifest/manifest.py | ✅ |
| dfetch/vcs/git.py | ✅ |
Explore our documentation to understand the languages and file types we support and the files we ignore.
Check out our docs on how you can make Korbit work best for you and your team.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description by Korbit AI
What change is being made?
Add and enforce pyupgrade across the codebase by introducing a new pre-commit hook, updating CI to run pyupgrade, and modernizing type hints and minor syntax to align with Python 3.9+ standards.
Why are these changes being made?
To automatically modernize Python syntax and typings, keep the codebase aligned with current language features, and ensure code quality via CI and pre-commit checks. If applicable, this also reduces manual churn by applying consistent, up-to-date conventions.